#提示
schedule function fisland:loadinf 10t
#scoreboard
scoreboard objectives add fisland_temp dummy
    #define score_holder $C_10 "10"
    scoreboard players set $C_10 fisland_temp 10
scoreboard objectives add fisland_is_id dummy "岛屿编号"
    #define score_holder $static_id "编号"
    execute unless score $static_id fisland_is_id matches -2147483648..2147483647 run scoreboard players set $static_id fisland_is_id 0
scoreboard objectives setdisplay list fisland_minetime
scoreboard objectives remove fisland_inf
scoreboard objectives add fisland_inf dummy {"text": "--<摸鱼空岛>--","bold":true,"color": "aqua"}
    scoreboard players set 使用/?查看命令帮助 fisland_inf -1
    scoreboard players set 使用/menu打开菜单 fisland_inf 0
    scoreboard players set ------------------- fisland_inf 1
    scoreboard players set 服务器尚处于测试阶段 fisland_inf 2
    scoreboard players set 数据包版本alpha0.4 fisland_inf 2
scoreboard objectives add fisland_antinpr minecraft.used:flint_and_steel "使用打火石"
function fisland:sideinf
#scoreboard trigger
scoreboard objectives add fislandt_tpn trigger "传送到地狱"
scoreboard objectives add fislandt_tpl trigger "传送到大厅"
scoreboard objectives add fislandt_tph trigger "传送到小岛"
    scoreboard players enable @a fislandt_tph
    scoreboard players enable @a fislandt_tpl
    scoreboard players enable @a fislandt_tpn
scoreboard objectives add fislandt_cof trigger "确认小岛归属"
    scoreboard players enable @a fislandt_cof
#bossbar
bossbar add fisland:lobby {"text":"fisland.alumopper.top","bold": true}
bossbar set fisland:lobby visible true
bossbar set fisland:lobby color blue
bossbar set fisland:lobby value 100
#初始化
execute unless score has_init fisland_temp matches 1 run function fisland:init